package cn.hxzy.client;


import cn.hxzy.entity.userEntity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@FeignClient(value = "user-source")
public interface AuthenticationClient {


    //    远程调用 马奎志
    @GetMapping("/user/selectOneByPhone/{phone}")
    User selectOneByPhone(@PathVariable String phone);

    @GetMapping("/user/UpdateUserRealNameAuthentication/{phone}/{certification}")
    Boolean UpdateUserRealNameAuthentication(@PathVariable("phone")String phone,@PathVariable("certification")int certification);


}
